package edu.xust.mapper;

import edu.xust.entity.Drivers;
import edu.xust.entity.DriversExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface DriversMapper {
    long countByExample(DriversExample example);

    int deleteByExample(DriversExample example);

    int deleteByPrimaryKey(String did);

    int insert(Drivers record);

    int insertSelective(Drivers record);

    List<Drivers> selectByExample(DriversExample example);

    Drivers selectByPrimaryKey(String did);

    Drivers getDriversWithTransportbills(String did);

    int updateByExampleSelective(@Param("record") Drivers record, @Param("example") DriversExample example);

    int updateByExample(@Param("record") Drivers record, @Param("example") DriversExample example);

    int updateByPrimaryKeySelective(Drivers record);

    int updateByPrimaryKey(Drivers record);
}